package com.fz.us.admin.company.entity;

import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

/**
 * 步骤条件表
 * Created by ZhuChunXiao on 2017/4/19.
 */
@Entity
@Table(name="sys_stepcon")
public class StepCon extends CompanyEntity {


    private static final long serialVersionUID = 253844843017852738L;

    /**
     * 描述
     */
    private String content;

    /**
     * 公式域名
     */
    private String  formulaField;

    /**
     * 公式符号
     */
    private String  formulaFlag;

    /**
     * 公式值
     */
    private String  formulaVal;

    /**
     * 路由步骤编号
     */
    private int stepNo;
    /**
     * 关联步骤
     */
    private StepBrief stepBrief;



    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }


    @ManyToOne(fetch = FetchType.LAZY)
    public StepBrief getStepBrief() {
        return stepBrief;
    }

    public void setStepBrief(StepBrief stepBrief) {
        this.stepBrief = stepBrief;
    }

    public int getStepNo() {
        return stepNo;
    }

    public void setStepNo(int stepNo) {
        this.stepNo = stepNo;
    }

    public String getFormulaVal() {
        return formulaVal;
    }

    public void setFormulaVal(String formulaVal) {
        this.formulaVal = formulaVal;
    }

    public String getFormulaFlag() {
        return formulaFlag;
    }

    public void setFormulaFlag(String formulaFlag) {
        this.formulaFlag = formulaFlag;
    }

    public String getFormulaField() {
        return formulaField;
    }

    public void setFormulaField(String formulaField) {
        this.formulaField = formulaField;
    }
}
